package com.hornsun.repository.mapper;

import com.hornsun.domain.dbo.ContentType;
import com.hornsun.domain.dbo.ContentTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Component;

@Component
public interface ContentTypeMapper {
    long countByExample(ContentTypeExample example);

    int deleteByExample(ContentTypeExample example);

    int deleteByPrimaryKey(String id);

    int insert(ContentType record);

    int insertSelective(ContentType record);

    List<ContentType> selectByExampleWithRowbounds(ContentTypeExample example, RowBounds rowBounds);

    List<ContentType> selectByExample(ContentTypeExample example);

    ContentType selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ContentType record, @Param("example") ContentTypeExample example);

    int updateByExample(@Param("record") ContentType record, @Param("example") ContentTypeExample example);

    int updateByPrimaryKeySelective(ContentType record);

    int updateByPrimaryKey(ContentType record);

}